package jmu.zzh.alumnus.user.mapper;

import jmu.zzh.alumnus.user.entity.Major;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MajorMapper {
    List<Major> selectAll();
    List<Major> selectByCollegeAndYear(@Param("collegeCode") String collegeCode, @Param("year") Integer year);
    Major selectByCodeAndYear(@Param("majorCode") String majorCode, @Param("year") Integer year);
} 